FROM node:latest as builder
COPY ./ /src/
WORKDIR /src/
RUN npm install
RUN npm run build

FROM nginx:latest
COPY --from=builder /src/build /var/www/html
EXPOSE 80
